DOMXPath
PHP Manual

DOMXPath::registerNamespace

(PHP 5)

DOMXPath::registerNamespace Registers the namespace with the DOMXPath object

Descripción

bool DOMXPath::registerNamespace ( string $prefix , string $namespaceURI )

Registers the namespaceURI and prefix with the DOMXPath object.

Lista de parámetros

prefix

The prefix.

namespaceURI

The URI of the namespace.

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.


DOMXPath
PHP Manual